package com.accp.demo.pojo.finance;

public class PaymentTakePrepay {
	private Integer lineId;//编号
	private String fundBillNo;//主表编号
	private String yfzNo;//预付款编号外键 预付款主表中的FundBillNo
	private Integer sourceType;//来源单别
	private String sourceOrder;//来源单号
	private Double curPreRecv;//预付余额
	private String deptNo;//部门编号
	private String origPrepayUsed;//取用预付金额
	private String remark;//来源摘要
	
	public PaymentTakePrepay(Integer lineId, String fundBillNo, String remark) {
		super();
		this.lineId = lineId;
		this.fundBillNo = fundBillNo;
		this.remark = remark;
	}

	private Payment payment;

	
	public PaymentTakePrepay(Integer lineId, String fundBillNo) {
		super();
		this.lineId = lineId;
		this.fundBillNo = fundBillNo;
	}

	public PaymentTakePrepay(Integer lineId) {
		super();
		this.lineId = lineId;
	}

	public Integer getLineId() {
		return lineId;
	}

	public void setLineId(Integer lineId) {
		this.lineId = lineId;
	}

	public String getFundBillNo() {
		return fundBillNo;
	}

	public void setFundBillNo(String fundBillNo) {
		this.fundBillNo = fundBillNo;
	}

	public String getYfzNo() {
		return yfzNo;
	}

	public void setYfzNo(String yfzNo) {
		this.yfzNo = yfzNo;
	}

	public Integer getSourceType() {
		return sourceType;
	}

	public void setSourceType(Integer sourceType) {
		this.sourceType = sourceType;
	}

	public String getSourceOrder() {
		return sourceOrder;
	}

	public void setSourceOrder(String sourceOrder) {
		this.sourceOrder = sourceOrder;
	}

	public Double getCurPreRecv() {
		return curPreRecv;
	}

	public void setCurPreRecv(Double curPreRecv) {
		this.curPreRecv = curPreRecv;
	}

	public String getDeptNo() {
		return deptNo;
	}

	public void setDeptNo(String deptNo) {
		this.deptNo = deptNo;
	}

	public String getOrigPrepayUsed() {
		return origPrepayUsed;
	}

	public void setOrigPrepayUsed(String origPrepayUsed) {
		this.origPrepayUsed = origPrepayUsed;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Payment getPayment() {
		return payment;
	}

	public void setPayment(Payment payment) {
		this.payment = payment;
	}

	public PaymentTakePrepay(Integer lineId, String fundBillNo, String yfzNo, Integer sourceType, String sourceOrder,
			Double curPreRecv, String deptNo, String origPrepayUsed, String remark, Payment payment) {
		super();
		this.lineId = lineId;
		this.fundBillNo = fundBillNo;
		this.yfzNo = yfzNo;
		this.sourceType = sourceType;
		this.sourceOrder = sourceOrder;
		this.curPreRecv = curPreRecv;
		this.deptNo = deptNo;
		this.origPrepayUsed = origPrepayUsed;
		this.remark = remark;
		this.payment = payment;
	}

	public PaymentTakePrepay() {
		super();
	}

	@Override
	public String toString() {
		return "PaymentTakePrepay [lineId=" + lineId + ", fundBillNo=" + fundBillNo + ", yfzNo=" + yfzNo
				+ ", sourceType=" + sourceType + ", sourceOrder=" + sourceOrder + ", curPreRecv=" + curPreRecv
				+ ", deptNo=" + deptNo + ", origPrepayUsed=" + origPrepayUsed + ", remark=" + remark + ", payment="
				+ payment + "]";
	}
	
}
